﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TripleTriad
{ 
    public class Mazzo
    {
        private Carta[] deck;

        public Carta[] getDeck() { return deck; }
        public Carta getCarta(int index) { return deck[index]; }
        //public void setCarta(Carta card, int index) { deck[index] = card; }
        public void setCartaToNull(int index) { deck[index] = Carta.NullSingleton; }

        public Mazzo(Carta card1, Carta card2, Carta card3, Carta card4, Carta card5)
        {
            deck = new Carta[5];
            deck[0] = card1;
            deck[1] = card2;
            deck[2] = card3;
            deck[3] = card4;
            deck[4] = card5;
        }
    }
}
